<?php
/* 
 ***************************************************************
 | Copyright (c) 2007-2010 Clip-Bucket.com. All rights reserved.
 | @ Author	   : ArslanHassan									
 | @ Software  : ClipBucket , ?PHPBucket.com					
 ****************************************************************
*/
define('THIS_PAGE','index');
require 'includes/config.inc.php';

//echo(SCREENSHOT_DIR);
$file_name = "130107181322c7a";

$videos = get_videos(array('limit'=>config('recently_viewed_limit'),'order'=>'last_viewed DESC'));
$vid_thumbs = glob(ICONS_DIR."/".$file_name."-icon"."*");
		if(is_array($vid_thumbs))
		foreach($vid_thumbs as $thumb)
		{
			$thumb_parts = explode('/',$thumb);
			$thumb_file = $thumb_parts[count($thumb_parts)-1];
			
					$thumbs[] = ICONS_URL.'/'.$thumb_file;

		}
$path = get_icon(5);
print_r($path);
$tt = array(1, 2, 3, 4);
if (in_array(5, $tt)) {
    echo "good";
} else {
    echo "sorry";
}

$des="Download Books & Reference Apps for Android. Reviews, screenshots and comments from the Android Market";
echo(substr($des, 0, 130));

?>